from rest_framework.serializers import ModelSerializer
from . import models 

class BannerSerializer(ModelSerializer):
    class Meta:
        model = models.BannerModel
        fields = ("name", "img", "link")